<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;

class BookCategory extends Model
{
    protected $table = 'v_book_category';

    public function goods()
    {
        return $this->hasMany('App\Model\BookLibrary', 'isbn', 'isbn');
    }
}
